<?php if(!empty($categories)):?>
    <!-- FEATURED CATEGORIES -->
    <div class="featuredCategories">
	    <h2 class="featuredTitle"><div class="head-arrow"><i class="fa fa-caret-down"></i></div><?php echo $heading_title; ?></h2>
	    <div class="row" style="font-size:0">
	       <?php foreach($categories as $category){?>
	        <div class="span3 featuredCat">
	            <div class="featuredCategory radius">
	                <a href="<?php echo $category['href']; ?>"><img src="<?php echo $category['thumb']; ?>" alt="" ></a>
	                <h3><a href="<?php echo $category['href']; ?>"><?php echo $category['name']; ?></a></h3>
	                <p><?php echo $category['description']; ?> <br/><a href="<?php echo $category['href']; ?>">Read more</a></p>
	            </div>
	        </div>
	        <?php } ?>
	    </div>
    </div>
<?php endif; ?>